package com.jysz.certificate.persistence.model.system;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jysz.webcore.ssh.entity.AbstractBaseEntity;

@Entity
@Table(name = "sys_financial_")
@org.hibernate.annotations.Entity
public class Financial extends AbstractBaseEntity<Long> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String name;
	private String billing;//是否独立开票(0,是，1，否)
	private String address;
	private String manager;
	private String telephone;
	private String isDelete;//(0:可用,1:被删除)
	private String brief;
	private String isOpenBill;//(0:发车信息)
	private String isOpenmoneyStockBill;//(0:库存开票)
	private String isOpenReleteBill;//(0:释放开票)
	
	private Integer fatalism;//二网回库提醒天数
	@Column(name = "_isOpenmoneyStockBill",columnDefinition="varchar(2)")
	public String getIsOpenmoneyStockBill() {
		return isOpenmoneyStockBill;
	}

	public void setIsOpenmoneyStockBill(String isOpenmoneyStockBill) {
		this.isOpenmoneyStockBill = isOpenmoneyStockBill;
	}
	@Column(name = "_isOpenReleteBill",columnDefinition="varchar(2)")
	public String getIsOpenReleteBill() {
		return isOpenReleteBill;
	}

	public void setIsOpenReleteBill(String isOpenReleteBill) {
		this.isOpenReleteBill = isOpenReleteBill;
	}

	@Column(name = "_isOpenBill",columnDefinition="varchar(2)")
	public String getIsOpenBill() {
		return isOpenBill;
	}

	public void setIsOpenBill(String isOpenBill) {
		this.isOpenBill = isOpenBill;
	}

	@Column(name = "_name", nullable = false, unique = true,columnDefinition="varchar(255)")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "_billing",columnDefinition="varchar(2)")
	public String getBilling() {
		return billing;
	}

	public void setBilling(String billing) {
		this.billing = billing;
	}

	@Column(name = "_address",columnDefinition="varchar(255)")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "_manager",columnDefinition="varchar(255)")
	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	@Column(name = "_telephone",columnDefinition="varchar(255)")
	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	@Column(name = "_isDelete",columnDefinition="varchar(2)")
	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	@Column(name = "_brief",columnDefinition="varchar(50)")
	public String getBrief() {
		return brief;
	}

	public void setBrief(String brief) {
		this.brief = brief;
	}
	@Column(name = "_fatalism")
	public Integer getFatalism() {
		return fatalism;
	}

	public void setFatalism(Integer fatalism) {
		this.fatalism = fatalism;
	}
	
	
	
}
